<template>
  <div>
      <el-upload
                class="avatar-uploader"
                action="http://www.zhaijizhe.cn:3005/images/uploadImages"
                :show-file-list="false"
                :on-success="handleAvatarSuccess"
                :before-upload="beforeAvatarUpload">
                <img v-if="image" :src="image" class="avatar">
                <i v-else class="el-icon-plus avatar-uploader-icon"></i>
              </el-upload>
  </div>
</template>

<script>
export default {
  name:'ClassesAdd',
  data(){
    return{
      num:0
    }
  }
}
</script>

<style>
 
</style>